package com.antaohua.tools.system.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.Table;


import com.antaohua.tools.system.base.model.BaseBusinessModel;

@Entity
@Table(name="SYS_USER")
public class SysUserEntity extends BaseBusinessModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	@Column(name="PASSWORD",length=32,nullable=false)
	private String password;
	
	@Column(name="USER_EMAIL",length=32,nullable=false)
	private String userEmail;

	@Column(name="user_name",length=36,nullable=false,unique=true)
	private String userName;
	
	@Column(name="is_system",nullable=false)
	private Boolean isSystem = false;
	
	

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}



	


	
}
